/******************************************************************************
* File description: settingpreferenceui.h
* Function: 设置-偏好设置
* Current Version: 1.0.0
* Author: 张宇轩
* Date: 2024-08-30
*  -----
*  Copyright by 博坤生物 .
 *****************************************************************************/
#ifndef SETTINGPREFERENCEUI_H
#define SETTINGPREFERENCEUI_H

#include <QObject>
#include <QQuickWidget>
#include <QQmlContext>

class SettingPreferenceUI : public QQuickWidget
{
    Q_OBJECT

signals:
    void settingReturnSig();

public:
    SettingPreferenceUI();
    ~SettingPreferenceUI();

public:
    QQmlContext* getContext() const; // 获取qmlcontext
    QObject* getRootObject() const; // 获取rootObject

private:
    QObject *rootObj;
};

#endif // SETTINGPREFERENCEUI_H
